package thread;

public class ThreadDemo5 {
    public static void main(String[] args) throws InterruptedException {
        for(int i=5;i>=1;i--){
            System.out.println("倒计时"+i+"秒");
            Thread.sleep(1000);
        }
    }
}

